package com.vehicle.service;

import com.vehicle.bean.DataGridView;
import com.vehicle.pojo.MaintainRecord;

public interface MaintainRecordService {
    /**
     * 查询所有MaintainRecord带分页
     * @return
     */
    public DataGridView findAllMaintainRecord(MaintainRecord maintainRecord);

    /**
     * 查询所有
     * @return
     */
    public DataGridView findMaintainRecord(MaintainRecord maintainRecord);


    //根据id删除
    public void deleteMaintainRecord(int maintainid);
    //批量删除
    public void deleteBatchByIds(Integer []maintainIds);
    /**
     * 增加保养记录
     * @param maintainRecord
     */
    public void addMaintainRecord(MaintainRecord maintainRecord);

    /**
     * 修改保养记录
     * @param maintainRecord
     */
    public void updateMaintainRecord(MaintainRecord maintainRecord);
}
